package com.ruoyi.finance.controller;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.ruoyi.finance.domain.CfContractsEntity;
import com.ruoyi.finance.domain.QueryParms;
import com.ruoyi.finance.domain.QueryParmsZf;
import com.ruoyi.finance.service.financeFactoringService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @return name
 * 申请租约保理
 */
@RestController
@RequestMapping("financeFactoring")
public class financeFactoringController {
    @Autowired
    private financeFactoringService service;

    /**
     *
     * @param queryParmsZf
     * @return
     * 收房合同查询
     */
    @GetMapping("listzf")
    public List<CfContractsEntity> listsf(QueryParmsZf queryParmsZf){
        System.out.println("申请租约保理租客合同查询数据"+queryParmsZf);
        List<CfContractsEntity> listsf = service.listsf(queryParmsZf);
        return listsf;
    }




}
